package com.xlh.openai.dto;


import com.google.common.collect.Maps;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.text.NumberFormat;
import java.util.Map;

@Data
@Accessors(chain = true)
public class ExchangeCodeExportDTO {

    private static Map<String, String> headerAlias = Maps.newLinkedHashMap();

    static {
        headerAlias.put("index", "编号");
        headerAlias.put("code", "兑换码");
        headerAlias.put("codeDesc", "兑换码描述");
        headerAlias.put("createTime", "创建时间");
    }

    @ApiModelProperty("账号ID")
    private Integer index;

    @ApiModelProperty("兑换码")
    private String code;

    @ApiModelProperty("兑换码描述")
    private String codeDesc;

    @ApiModelProperty("创建时间")
    private String createTime;


    public static Map<String, String> getHeaderAlias(){

        return headerAlias;
    }

}
